package videoExercises;

public class T3LinkedListTest {
    public static void main(String[] args) {
        T3LinkedList<String> list1 = new T3LinkedList<>();
        list1.enqueue("qwe");
        list1.enqueue("asd");
        list1.enqueue("zxc");
        System.out.println("队列是否为空:"+list1.isEmpty());
        while(!list1.isEmpty()){
            System.out.println("出队："+list1.dequeue());

        }
        System.out.println("队列是否为空:"+list1.isEmpty());
    }
}
